package cn.uniqueinfo.dp.mapper;

import cn.uniqueinfo.dp.vo.RoleMenuVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author:朱元勋
 * @mail:395910063@qq.com
 * @date:2019-02-13 11:51:24
 * @description:角色菜单对应表
 */
@Mapper
@Component
public interface RoleMenuMapper extends BaseMapper<RoleMenuVO> {
  Integer deleteByRoleId(@Param(value = "role_id") Long roleId);
  List<RoleMenuVO> findByRoleId(@Param(value = "role_id") Long roleId);
}
